function wordcountinfo(){
	var text = document.getElementById("story").value;
        var words = text.split(" ");
        var count = words.length;
	document.getElementById("wordscounted").innerHTML = count;
}
